public class c1 {
    public static void main(String[] args) {
        Student s1 = new Student();
        Student s2 = new Student(17102, "s2", "171");
        s1.printInfo();
        s2.printInfo();
        System.out.print("count=" + s1.getCounts());
    }
}

class Student {
    private int id;
    private String name;
    private String className;
    private static int count = 0;

    public Student(int id, String name, String className) {
        this.id = id;
        this.name = name;
        this.className = className;
        count++;
    }

    public Student() {
        this(17101, "s1", "171");
    }

    public void printInfo() {
        System.out.printf("%s, %d, %s; ", name, id, className);
    }

    public int getCounts() {
        return count;
    }
}
